package com.kmist.xiakexing.data;

import com.kmist.xiakexing.utils.UserBean;

public interface IUserDao {

    void setCallBack(IUserDaoCallback callBack);

    void addUser(UserBean userBean);
    UserBean getUser(UserBean userBeanTmp);

    /**
     * 判断用户是否在线
     * @param token
     * @return $sid
     */
    String isUserOnline(String token);

    boolean updateUserOnline(String sid);
}
